﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace QuTouTiaoAssist.Entity
{
    class QttExchangeProduct
    {
        [JsonProperty("id")]
        public string Id;
        [JsonProperty("name")]
        public string Name;
        [JsonProperty("title")]
        public string Title;
        [JsonProperty("icon")]
        public string Icon;
        [JsonProperty("tag")]
        public string Tag;
        [JsonProperty("discount_price")]
        public string DiscountPrice;
        [JsonProperty("item")]
        public QttExchangeProductItem Item;
    }

    class QttExchangeProductItem
    {
        [JsonProperty("item_id")]
        public string ItemId;
        [JsonProperty("tag")]
        public string Tag;
        [JsonProperty("product_id")]
        public string ProductId;
        [JsonProperty("name")]
        public string Name;
        [JsonProperty("show_name")]
        public string ShowName;
        [JsonProperty("title")]
        public string Title;
        [JsonProperty("price")]
        public string Price;
        [JsonProperty("discount_price")]
        public string DiscountPrice;
        [JsonProperty("icon")]
        public string Icon;
        [JsonProperty("description")]
        public string Description;
        [JsonProperty("apply_url")]
        public string ApplyUrl;
        [JsonProperty("status")]
        public string Status;
        [JsonProperty("package")]
        public string Package;
        [JsonProperty("day_limit")]
        public string DayLimit;
        [JsonProperty("total_limit")]
        public string TotalLimit;
    }
}
